package com.ysd.lis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.SysUserAuthdetail;
import com.ysd.lis.request.AuthFindUserListParam;
import com.ysd.lis.request.HandelUserAuthParam;
import com.ysd.lis.request.UserAuthAddParam;

import java.util.List;

/**
 * <p>
 * 用户权限详情表
         服务类
 * </p>
 *
 * @author LiuQi
 * @since 2023-10-28
 */
public interface SysUserAuthdetailService extends IService<SysUserAuthdetail> {
    Result getSysUserAuthdetailsByRoleIds(HandelUserAuthParam handelUserAuthParam);
    Result getUserListByRoleId(AuthFindUserListParam authFindUserListParam);
    Result getLoginUserAuthMapByUserId(String userId);
    Result handleUserAuthDetails(HandelUserAuthParam handelUserAuthParam);
    Result deleteUserAuthById(String id);
    Result getDifferenceSetRoles(HandelUserAuthParam handelUserAuthParam);
    Result addUserAuthDetails(UserAuthAddParam userAuthAddParam);
    Result importSysUserAuthDetailsByEmployee(String roleId, List<String> employeeIds);

}
